package ooday01;

public class Car2 {
    String band;
    String color;
    int price;

    public Car2(String band, String color, int price) {
        this.band = band;
        this.color = color;
        this.price = price;
    }

    void start(){
        System.out.println(band+"品牌的"+color+"是价格"+price+"启动了");
    }
    void run(){
        System.out.println(band+"品牌"+color+"颜色"+price+"是价格"+"开始跑了");
    }
    void stop(){
        System.out.println(band+"品牌"+color+"颜色"+price+"是价格"+"停了");
    }
}
